import React from "react"
import { Input } from 'antd';
// back 用于关闭当前组件，回到前一个 dialog
const ContactUs = ({ dialogProps }) => {
    console.log("进来的数据呢ContactUs", dialogProps)
    return <div style={{
        overflow: 'hidden',
        width: '300px',
        height: '170px',
        textAlign: 'center'
    }}>
        <h1>
            Contact Us
        </h1>
        <Input placeholder="Basic usage" />;
        <div>
            <button onClick={dialogProps.back}>
                back
            </button>
        </div>
    </div>
}

export default ContactUs